<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<title>雷蛇官方商城-个人中心</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="/hom/js/loginjs/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/hom/css/logincss/style.css" type="text/css" />
<link rel="stylesheet" href="/hom/css/logincss/login.css" type="text/css" />
<!-- <link rel="stylesheet" href="themes/razer/css/bootstrap.css" type="text/css" /> -->
<script type="text/javascript" src="/hom/js/loginjs/jquery-1.5.2.min.js"></script><script type="text/javascript" src="/hom/js/loginjs/common.js"></script><script type="text/javascript" src="/hom/js/loginjs/user.js"></script><script type="text/javascript" src="/hom/js/loginjs/transport-new.js"></script>
<style type="text/css">
    td,th{
      vertical-align: initial;
      padding: 0px 5px;
    }
    .home-category li div.hot-item a{
        font-size: 12px;
    }
    .home-category li .dropdown .second a{
        font-size: 12px;
    }
    #logintip{
      height: 22px;
      color: red;
      padding-left: 66px;
    }
</style>
</head>
<body>
<meta name="renderer" content="ie-comp">
<link href="/hom/css/logincss/header.css" type="text/css" rel="stylesheet">
<link href="/hom/js/loginjs/maps.css" type="text/css" rel="stylesheet">
<link href="/hom/js/loginjs/jquery-list-navigation.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="/hom/js/loginjs/jquery-list-navigation.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$().orion( {
			speed : 500,
			animation : "zoom"
		});
	});
</script>
<style type="text/css">
    .search-type{}
    .search-type a{font-size: 15px; margin: 0 15px 0 13px; color: #FFF;}
    .search-box{height: 35px; background:#1f1f1f;}
    .search-box .search-input{width: 189px;height: 30px;border: 0px;outline: none;line-height: 21px;padding: 0 0 0 5px;background: #000000;color: #FFF;}
    .search-box .search-input:FOCUS{border: 1px solid #666; background-color: #222;}
    .search-box .search-button{vertical-align: middle;margin: 0;background: url(index/fangda.jpg) #1f1f1f no-repeat; height: 35px;width: 35px;border: 0px;cursor: pointer; display:block;position: relative; top:0px;left:0px;outline: none;float:left;}
    /* catagory */
    .home-category{width: 220px; height:425px;}
    .home-category li{height:71px;}
    .home-category li.first{width:218px;background:#070707;border-left:2px #070707 solid;}
    .home-category li h4{color:#0f0;font-size:16px;padding:15px 20px 1px 30px;}
    .home-category li div.hot-item{padding:1px 6px 15px 30px;}
    .home-category li div a{color:#999;/*margin-right:14px;*/line-height:16px;}
    .home-category li.first:hover{background:#000;border-left:solid 2px #0f0;}
    .home-category li div a:hover{color:#0f0;}
    .home-category li .dropdown{position:absolute; background:#000;left:218px; height:425px;width:290px;z-index:999;display:none;margin-top: -1px;}
    .home-category li .dropdown a{
        width: 240px;
        white-space:nowrap;/* 不换行 */
overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ；需与overflow:hidden;一起使用。*/
    }
    .home-category li .dropdown1{top:0;}
    .home-category li .dropdown2{top:-70px;}
    .home-category li .dropdown3{top:-141px;}
    .home-category li .dropdown4{top:-212px;}
    .home-category li .dropdown5{top:-283px;}
    .home-category li .dropdown6{top:-354px;}
    .home-category li .dropdown .second{line-height:71px;padding:0 25px;overflow:hidden;}
    .home-category li .dropdown .second img{margin-right:20px;	vertical-align: middle;}
    .home-category li .dropdown .second a{display:block;}
    .home-category li .dropdown .second a:hover{color:#0f0;}
    .home-category li.first .hot-item a{font-size: 12px;color: #999;/*margin-right: 14px;*/line-height: 16px;}
    .home-category li.first .hot-item a:hover{color: #0f0;}
    .home-category li.second a{font-size: 12px;}
    /* category END */
    .nav_active{background-color: #3C3C3C;}
    .nav_active .acol{color:#20FF14;}
    
</style>
<div class="whole">
	
	<div class="header">
             <div class="top">
                <div class="container">
                    <ul>
                        <li style="padding:0px;">
                            <div id="append_parent"></div>
<script type="text/javascript" src="/hom/js/loginjs/drop-down-menu.js"></script>
<link rel="stylesheet" href="/hom/js/loginjs/drop-down-menu.css" type="text/css"></link>
<link rel="stylesheet" href="/hom/css/logincss/font-awesome.min.css" type="text/css" />
<style>
	/*#drop-down-menu{margin:4px;position: relative;}*/
	#drop-down-menu li ul li a i{font-size: 16px; margin: 0 5px 0 0;}
	.menu-title{background: #006600; font-weight: bold; line-height: 35px; font-size: 14px;}
</style>
<script type="text/javascript">
//	window.onload = menuFix(); 
</script>
	<a href="#" style="border-right: 1px solid #333;">登录</a><a href="{{url('/home/login/index')}}">注册</a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="wrapper" id="wrapper">
                <a href="."><img class="logo1" style="width: 67px;height: 67px;display: block;margin-top: 10px;float: left;" src="/hom/images/loginimages/logo.png" /></a>
                <div style="margin-top: 30px;float: left;margin-left: 785px;z-index: 99;">
                    <div class="search-box">
                        <form style="margin:0px;padding:0px;border:0px; " id="searchForm" name="searchForm" method="get" action="search_con.php" onSubmit="return checkSearchForm()" >  
                            <input type="submit" class="search-button" value=""/>  
                            
                            <input type="text" name="keywords" class="search-input" value="" style="border: none; background:none;box-shadow: none;" />
                               
                       </form>
                    </div>
                </div>
                    
			<!-- <ul id="h_geren">
                        <li style="margin-right: -99px;">-->
                       <a style="margin-top:30px;" href="flow.php" class="razer-bttn bttn-medium cart"><span style="color:white;cursor:pointer;"><i class="fa fa-shopping-cart" style="font-size:14px;"></i>购物车</span></a>
			<!-- </li>
                    </ul>-->
            </div>
            <div id="top_m" ></div>
	</div>
	<div class="navigation">
		<div class="wrapper">
			<ul class="orion-menu green">
				<li class="active">
					<a href="#" style="background: #00a000;">全部商品分类</a>
                       <ul class="home-category">
                        <li class="first">
                        <div class="box">
						<a href="category.php?id=151" style="display:inline-block;"><h4>游戏鼠标</h4></a>
                        <div class="hot-item">                                                                 
                        <a style="padding:0px;margin: 0 auto; " href="category.php?id=161">右手型</a>
                       <a style="padding:0px;margin: 0 auto; " href="category.php?id=163">左手型</a>
                      </div>
                      </div>
                     <ul class="dropdown dropdown1"> 
					 
                     <li class="second"><a href="category.php?id=161"><img src="/hom/images/loginimages/87_thumb_G_1416295933470.jpg" style="width:40px;height:40px;"/>右手型</a></li>                                
                    <li class="second"><a href="category.php?id=163"><img src="/hom/images/loginimages/190_thumb_G_1421661854298.jpg" style="width:40px;height:40px;"/>左手型</a></li>                                
                     <li class="second"><a href="category.php?id=164"><img src="/hom/images/loginimages/72_thumb_G_1410424822626.jpg" style="width:40px;height:40px;"/>双手通用</a></li>                                
                    <li class="second"><a href="category.php?id=201"><img src="/hom/images/loginimages/92_thumb_G_1416882331330.jpg" style="width:40px;height:40px;"/>MMO专用</a>
					</ul>
                   </li>
                    <li class="first">
                   <div class="box">
                   <a href="category.php?id=202" style="display:inline-block;"><h4>游戏键盘</h4></a>
                   <div class="hot-item">                                                                 
                                                                                                                                                   <a style="padding:0px;margin: 0 auto; " href="category.php?id=204">机械键盘</a>
                                                                                                                                                  <a style="padding:0px;margin: 0 auto; " href="category.php?id=205">薄膜键盘</a>
                                                                                                                                                  </div>
                   </div>
                 <ul class="dropdown dropdown2">                                                            
                                                                                            
				<li class="second"><a href="category.php?id=204"><img src="/hom/images/loginimages/98_thumb_G_1416901595077.jpg" style="width:40px;height:40px;"/>机械键盘</a></li>                                
                                                                                            
                <li class="second"><a href="category.php?id=205"><img src="/hom/images/loginimages/96_thumb_G_1416886292199.jpg" style="width:40px;height:40px;"/>薄膜键盘</a></li>                                
                                                                                            
                <li class="second"><a href="category.php?id=206"><img src="/hom/images/loginimages/228_thumb_G_1430991336842.jpg" style="width:40px;height:40px;"/>单手键盘</a></li>                                
                </ul>
                </li>
               <li class="first">
               <div class="box">
              <a href="category.php?id=203" style="display:inline-block;"><h4>游戏鼠标垫</h4></a>
               <div class="hot-item">                                                                 
                                                                                                                                             <a style="padding:0px;margin: 0 auto; " href="category.php?id=207">软垫</a>
                                                                                                                                             <a style="padding:0px;margin: 0 auto; " href="category.php?id=208">硬垫</a>
                                                                                                                                             </div>
              </div>
              <ul class="dropdown dropdown3">                                                            
                                                                                            
              <li class="second"><a href="category.php?id=207"><img src="/hom/images/loginimages/143_thumb_G_1420613737102.jpg" style="width:40px;height:40px;"/>软垫</a></li>                                
                                                                                            
              <li class="second"><a href="category.php?id=208"><img src="/hom/images/loginimages/135_thumb_G_1420602509582.jpg" style="width:40px;height:40px;"/>硬垫</a></li>                                
                                                                                            
              <li class="second"><a href="category.php?id=209"><img src="/hom/images/loginimages/151_thumb_G_1420618494022.jpg" style="width:40px;height:40px;"/>双面垫</a></li>                                
              </ul>
			</li>
             <li class="first">
             <div class="box">
             <a href="category.php?id=149" style="display:inline-block;"><h4>娱乐音频</h4></a>
             <div class="hot-item">                                                                 
                                                                                                                                            <a style="padding:0px;margin: 0 auto; " href="category.php?id=166">头戴式耳机</a>
                                                                                                                                          <a style="padding:0px;margin: 0 auto; " href="category.php?id=167">入耳式耳塞</a>
                                                                                                                                           </div>
			</div>
			<ul class="dropdown dropdown4">                                                            
													
					<li class="second"><a href="category.php?id=166"><img src="/hom/images/loginimages/118_thumb_G_1420525409079.jpg" style="width:40px;height:40px;"/>头戴式耳机</a></li>                                
											
					<li class="second"><a href="category.php?id=167"><img src="/hom/images/loginimages/116_thumb_G_1420515930246.jpg" style="width:40px;height:40px;"/>入耳式耳塞</a></li>                                
											
					<li class="second"><a href="category.php?id=210"><img src="/hom/images/loginimages/193_thumb_G_1421314773991.jpg" style="width:40px;height:40px;"/>音箱</a></li>                                
											
					<li class="second"><a href="category.php?id=211"><img src="/hom/images/loginimages/194_thumb_G_1421316160334.jpg" style="width:40px;height:40px;"/>麦克风</a></li>                                
											
					<li class="second"><a href="category.php?id=212"><img src="/hom/images/loginimages/231_thumb_G_1431411235089.jpg" style="width:40px;height:40px;"/>海神</a></li>                                
			</ul>
			</li>
			<li class="first">
			<div class="box">
			<a href="category.php?id=180" style="display:inline-block;"><h4>智能穿戴设备</h4></a>
            <div class="hot-item">                                                                 
                                                                                                                                            <a style="padding:0px;margin: 0 auto; " href="category.php?id=181">Nabu X</a>
                                                                                                                                           </div>
			</div>
			<ul class="dropdown dropdown5">                                                            
													
			<li class="second"><a href="category.php?id=181"><img src="../images/loginimages/223_thumb_G_1444810581972.jpg" style="width:40px;height:40px;"/>Nabu X</a></li>                                
			</ul>
			</li>
			<li class="first">
			<div class="box">
			<a href="category.php?id=155" style="display:inline-block;"><h4>周边配件</h4></a>
			<div class="hot-item">                                                                 
			<a style="padding:0px;margin: 0 auto; " href="category.php?id=169">集线器</a>
                                                                                                                                            <a style="padding:0px;margin: 0 auto; " href="category.php?id=170">产品配件</a>
                                                                                                                                           </div>
            </div>
			<ul class="dropdown dropdown6">                                                            
                                                                                            
             <li class="second"><a href="category.php?id=169"><img src="/hom/images/loginimages/208_thumb_G_1421806548493.jpg" style="width:40px;height:40px;"/>集线器</a></li>                                
                                                                                            
              <li class="second"><a href="category.php?id=170"><img src="/hom/images/loginimages/210_thumb_G_1421819941615.jpg" style="width:40px;height:40px;"/>产品配件</a></li>  
			  
              <li class="second"><a href="category.php?id=171"><img src="/hom/images/loginimages/202_thumb_G_1421746020704.jpg" style="width:40px;height:40px;"/>装备保护</a></li>   
			  
             <li class="second"><a href="category.php?id=213"><img src="/hom/images/loginimages/204_thumb_G_1421747846868.jpg" style="width:40px;height:40px;"/>生活方式</a></li>                             
			 </ul>
              </li>
              </ul>
                                            
			</li>            
				<li style="padding-left: 10px;padding-right: 10px;">
					<a href="{{url('/home/goods/index')}}" class="acol">首页</a>
				</li>
				<li style="padding-left: 10px;padding-right: 10px;display:none;">
                                    <!--<a href="/../forum/plugin.php?id=dpw_activity:activity">活动</a>-->
                                    <a href="campaign.php" class="acol" style="display:none;" >活动</a>
				</li>
<!--				<li style="padding-left: 10px;padding-right: 10px;">
					<a href="/../forum" class="acol">社区</a>
				</li>
                                <li  style="padding-left: 10px;padding-right: 10px;">
					<a href="forum.php" class="acol">社区</a>
				</li>
-->
			</ul>
		</div>
	</div>
</div>
<div class="block box">
 <div id="ur_here">
  当前位置: <a href=".">首页</a> <code>&gt;</code> <a href="user.php">用户</a> <code>&gt;</code> 用户中心  </div>
</div>
<div class="blank"></div>
<div class="usBox clearfix">
  <div class="login_left">
     <div><a href='affiche.php?ad_id=57&amp;uri=http%3A%2F%2Frazerclub.com%2Fgoods.php%3Fid%3D223' target='_blank'><img src='/hom/images/loginimages/1444466332314073773.jpg' width='500' height='312' border='0' /></a></div>
  </div>
  <div class="login_right">
    <div class="login_cont">
      <div class="title">
       @if(session('error'))
           <div class="alert alert-info alert-dismissable" style="color:red;font-size:20px">
               
                  {{session('error')}}
                 
           </div>
          @else
          <h3>欢迎登录雷蛇官方商城</h3>
      @endif
        
      </div>
          

          
        <form  name="formLogin" action="{{url('/home/denglu/insert')}}" method="post" onSubmit="return userLogin()">
            <div class="input clearfix">
                <div id="logintip"></div>
                <div class="yhm" style="margin-top:0px;">
                  <p>用户名</p><input  name="username" type="text" size="25" class="inputBg" />
                </div>
                <div class="mm">
                  <p>密码</p><input  name="password" type="password" size="15"  class="inputBg"/>
                </div>
                 <div class="cap">
                  <li style="clear:both;">
                <p>验证码&nbsp;&nbsp;&nbsp;</p>
                <input type="text" size="8" name="vcode" class="inputBg" style="width:100px;" />
              <img src="/home/login/vcode" style="width:90px" onclick="this.src=this.src+'?id='+Math.random();">
                  <br />
                  <span></span>
                </li>   
                  </div>
                  <br />
                <div class="jizhu">

                  <p><input type="checkbox" value="1" name="remember" id="remember"> 记住密码</p>
                  <span><a href="{{url('/home/denglu/wang')}}">忘记密码？</a></span>
                </div>
                {{csrf_field()}}
                <div class="denglu">
                    <input type="hidden" name="act" value="act_login" />
                    <input type="hidden" name="back_act" value="user.php" />
                    <button type="submit" name="submit">登录&nbsp;<a href="#" style="color:#0f0;"></a></button>
                    <p>没账号？<a href="{{url('/home/login/index')}}">免费注册</a></p>
                </div>
      </div>
        </form>
      
    </div>  
  </div>
  
</div>
          
<div class="blank"></div>
<meta name="renderer" content="ie-comp">
<link href="/hom/css/logincss/footer.css" type="text/css" rel="stylesheet">
<style>
{background:#1f1f1f;}
.wrapper .bottom .help_title{margin-top:30px;margin-bottom:30px;margin-left:10px;color:#9d9d9d;}
.wrapper .bottom .bottomk{width:220px;float:left;}
.wrapper .bottom .right_kf{float:right;color:#9d9d9d;}
.bottom .bottomk p{cursor:default;}
.bottom .bottomk p a{cursor:text;}
</style>
<div style="background:#1f1f1f;margin-top: -8px;">
<div class="wrapper" >
	<div class="bottom">
		<div class="help_title">
			<table width="100%" border="0" cellpadding="3" cellspacing="1" style="margin-bottom:20px;">
<!--				<tr align="center" style="font-size:25px;">
					<td><i class="fa fa-gift"></i></td>
					<td><i class="fa fa-truck"></i></td>
					<td><i class="fa fa-history"></i></td>
					<td><i class="fa fa-th-large"></i></td>
				</tr>-->
				<tr align="center" style="font-size:18px;">
					<td class="mail"><i class="fa fa-gift" style="padding-right: 10px;"></i><font  style="color:#fff;">顺丰极速配送</font></td>
					<td class="delivery"><i class="fa fa-truck" style="padding-right: 10px;"></i><font  style="color:#fff;">48小时闪电发货</font></td>
					<td class="refund"><i class="fa fa-history" style="padding-right: 10px;"></i><font  style="color:#fff;">7天无理由退货</font></td>
					<td class="point"><i class="fa fa-th-large" style="padding-right: 10px;"></i><font  style="color:#fff;">30余家售后网点</font></td>
				</tr>
			</table>			
		</div>
            <div style="border-bottom:1px solid #333;border-top:1px solid #333;height: 170px;">
                <div style="margin-top:20px;margin-bottom:20px;">
				                <div class="bottomk">
		  <!--<p style="font-size:16px;"><a href='article_cat.php?id=5' title="关注我们">关注我们</a></p>-->
                  <p style="font-size:16px;"><a href='javascript:void(0);' title="关注我们" style="color:#fff;">关注我们</a></p>
		  		  <span><a href="help.php?id=39" target="_blank" title="品牌介绍">品牌介绍</a></span>
		  <br/>
		  		  <span><a href="help.php?id=40" target="_blank" title="新浪微博">新浪微博</a></span>
		  <br/>
		  		  <span><a href="help.php?id=41" target="_blank" title="官方微信">官方微信</a></span>
		  <br/>
		  		 </div>
		                <div class="bottomk">
		  <!--<p style="font-size:16px;"><a href='article_cat.php?id=8' title="帮助中心">帮助中心</a></p>-->
                  <p style="font-size:16px;"><a href='javascript:void(0);' title="帮助中心" style="color:#fff;">帮助中心</a></p>
		  		  <span><a href="help.php?id=42" target="_blank" title="购物指南">购物指南</a></span>
		  <br/>
		  		  <span><a href="help.php?id=43" target="_blank" title="支付方式">支付方式</a></span>
		  <br/>
		  		  <span><a href="help.php?id=44" target="_blank" title="配送方式">配送方式</a></span>
		  <br/>
		  		 </div>
		                <div class="bottomk">
		  <!--<p style="font-size:16px;"><a href='article_cat.php?id=9' title="服务支持">服务支持</a></p>-->
                  <p style="font-size:16px;"><a href='javascript:void(0);' title="服务支持" style="color:#fff;">服务支持</a></p>
		  		  <span><a href="help.php?id=45" target="_blank" title="售后政策">售后政策</a></span>
		  <br/>
		  		  <span><a href="help.php?id=46" target="_blank" title="售后支持">售后支持</a></span>
		  <br/>
		  		  <span><a href="help.php?id=50" target="_blank" title="驱动下载">驱动下载</a></span>
		  <br/>
		  		 </div>
		                <div class="bottomk">
		  <!--<p style="font-size:16px;"><a href='article_cat.php?id=6' title="常见问题">常见问题</a></p>-->
                  <p style="font-size:16px;"><a href='javascript:void(0);' title="常见问题" style="color:#fff;">常见问题</a></p>
		  		  <span><a href="help.php?id=47" target="_blank" title="隐私政策">隐私政策</a></span>
		  <br/>
		  		  <span><a href="help.php?id=48" target="_blank" title="发票索取">发票索取</a></span>
		  <br/>
		  		  <span><a href="help.php?id=49" target="_blank" title="退换货">退换货</a></span>
		  <br/>
		  		 </div>
				                </div>
		<div class="right_kf" style="margin-top:5px;margin-right:100px;line-height:30px;">
			
			<!-- <a target="_blank" href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzgwMDEwMDk1N18yNjk2MTFfODAwMTAwOTU3XzJf"> -->
			
			<a target="_blank" href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzgwMDAzNjgzNF8zNDczNDNfODAwMDM2ODM0XzJf">
				<p style="font-size:16px;color:#0f0;">在线客服</p>
			</a>
                        <p style="color:#999;">工作日&nbsp;9:00-24:00</p>
        				<p style="color:#999;">节假日 10:00-22:00</p><br/>
<!--                        <p class="razer-bttn"><a href="">在线客服</a></p>
                         QQ 号码  
                              
                          结束QQ号码 -->
                         <p>
                            
               <!--             <script charset="utf-8" type="text/javascript" src="http://wpa.b.qq.com/cgi/wpa.php?key=XzgwMDEwMDk1N18yNjY4NjJfODAwMTAwOTU3Xw"></script>-->
                            
                        </p>
		</div>
	</div>
</div> 
<div class="footer" style="padding-bottom:30px" >
	<div class="wrapper">
            <img src="/hom/images/loginimages/footer_slogan.png" />
		<p class="beian">
			Copyright© 1999-2012 Razer (Asia-Pacific) Pte Ltd 版权所有 | 沪ICP备12035791号
		</p>
		<!--<p class="lianjie">
			<a href="#">关于Razer </a>|
			<a href="#">联系我们 </a>|
			<a href="#">发货与退货</a> |
			<a href="#">条款与条件 </a>|
			<a href="#">隐私政策</a>
		</p>-->
	</div>
</div>
</div>
</div>
</div>
<div class="xuanfu" style="z-index:999;">
	<ul style="text-align: right">
		<li>
			<a href="flow.php">
				<img src="/hom/images/loginimages/fu1.png" onMouseOver="this.src='/hom/images/loginimages/fu11.png'" onMouseOut="this.src='/hom/images/loginimages/fu1.png'" />
			</a>
		</li>
		<li>
			<!-- <a target="_blank" href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzgwMDEwMDk1N18yNjk2MTFfODAwMTAwOTU3XzJf"> -->
			
			<a target="_blank" href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzgwMDAzNjgzNF8zNDczNDNfODAwMDM2ODM0XzJf">
				<img src="/hom/images/loginimages/fu2.png" onMouseOver="this.src='/hom/images/loginimages/fu22.png'" onMouseOut="this.src='/hom/images/loginimages/fu2.png'" />
			</a>
		</li>
<!--		<li>
			<a href="/../forum/forum.php"> 
				<img src="themes/razer/images/index/fu3.png" onMouseOver="this.src='themes/razer/images/index/fu33.png'" onMouseOut="this.src='themes/razer/images/index/fu3.png'" /> 
			</a>
		</li>-->
		<li>
			<a href="user.php">
				<img src="/hom/images/loginimages/fu4.png" onMouseOver="this.src='/hom/images/loginimages/fu44.png'" onMouseOut="this.src='/hom/images/loginimages/fu4.png'" /> 
			</a>
		</li>
		<li>
			<a href="#top">
				<img src="/hom/images/loginimages/feiji.png" onMouseOver="this.src='/hom/images/loginimages/feiji2.png'" onMouseOut="this.src='/hom/images/loginimages/feiji.png'" /> 
			</a>
		</li>
	</ul>
</div>
<!--  <script type="text/javascript"> 
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); 
    document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F03bfbd675ab5474315910485dfda74bf' type='text/javascript'%3E%3C/script%3E")) 
    </script>2
-->
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?7cfc2afba9db6d06d79d83271686ea68";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
<script type="text/javascript">
var process_request = "正在处理您的请求...";
var username_empty = "- 用户名不能为空。";
var username_shorter = "- 用户名长度不能少于 3 个字符。";
var username_invalid = "- 用户名只能是由字母数字以及下划线组成。";
var password_empty = "- 登录密码不能为空。";
var msg_un_rg = "- 登录密码必须为 6-18 位数字、字母或特殊符号。";
var password_shorter = "- 登录密码不能少于 6 个字符。";
var password_longer = "- 登录密码不能大于 18 个字符。";
var confirm_password_invalid = "- 两次输入密码不一致";
var email_empty = "- Email 为空";
var email_invalid = "- Email 不是合法的地址";
var agreement = "- 您没有接受协议";
var msn_invalid = "- msn地址不是一个有效的邮件地址";
var qq_invalid = "- QQ号码不是一个有效的号码";
var home_phone_invalid = "- 家庭电话不是一个有效号码";
var office_phone_invalid = "- 办公电话不是一个有效号码";
var mobile_phone_invalid = "- 手机号码不是一个有效号码";
var msg_un_blank = "- 用户名不能为空";
var msg_un_length = "- 用户名最长不得超过14个字符";
var msg_un_format = "- 用户名含有非法字符";
var msg_un_registered = "- 用户名已经存在,请重新输入";
var msg_can_rg = "";
var msg_email_blank = "- 邮件地址不能为空";
var msg_email_registered = "-  邮箱已存在,请重新输入";
var msg_email_format = "- 邮件地址不合法";
var msg_blank = "不能为空";
var no_select_question = "- 您没有完成密码提示问题的操作";
var passwd_balnk = "- 密码中不能包含空格";
var username_exist = "用户名 %s 已经存在";

    
    var YZM = false;

        //绑定表单事件
        $('form').submit(function(){
            //触发丧失焦点事件
            $('input').trigger('blur');
            //检测所有字段是否正确
            if(YZM){
                //提交
                return true;
            }
            //阻止默认行为
            return false;
        })

$('input[name=vcode]').blur(function(){
      // alert(1111111);

      var uname = $(this).val();
      var inp = $(this);

      if(uname == ''){
          $(this).next().next().next().html('验证码不能为空').css('color','red');
          YZM = false;
      }

       $.get('{{url("/home/login/yzm")}}',{name:uname},function(data){
            // console.log(data);
       if(data == 1){
            
         inp.next().next().next().html('√').css('color','blue');
         YZM = true;
         // alert(1111111);
     }else{
       // inp.css('border','1px solid red');
          inp.next().next().next().html('验证码不正确,请重新输入').css('color','red');
          YZM = false;
          
       // alert(2222222222);
     }
      

     });

     });
</script>
</html>
